package com.glory.good_dark.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * FileName: ProjectModelEntity
 * Author: XJH
 * Date: 2020/7/20 14:48
 * Description:
 * History:
 */
public class ProjectModelEntity implements Serializable {

    private String EQP_ID;
    private String OPERATOR;
    private String PmState;
    private List<ProjectInfoEntity> INPUTDATAINFOLIST;
    private List<ProjectInfoEntity> PmListInfo;
    private List<Status> StatusList;
    private List<Status> UserGroup;

    public List<ProjectInfoEntity> getPmListInfo() {
        if (PmListInfo == null) {
            return new ArrayList<>();
        }
        return PmListInfo;
    }

    public void setPmListInfo(List<ProjectInfoEntity> pmListInfo) {
        PmListInfo = pmListInfo;
    }

    public String getPmState() {
        return PmState == null ? "" : PmState;
    }

    public void setPmState(String pmState) {
        PmState = pmState;
    }

    public List<Status> getUserGroup() {
        if (UserGroup == null) {
            return new ArrayList<>();
        }
        return UserGroup;
    }

    public void setUserGroup(List<Status> userGroup) {
        UserGroup = userGroup;
    }

    public List<Status> getStatusList() {
        if (StatusList == null) {
            return new ArrayList<>();
        }
        return StatusList;
    }

    public void setStatusList(List<Status> statusList) {
        StatusList = statusList;
    }

    public String getEQP_ID() {
        return EQP_ID == null ? "" : EQP_ID;
    }

    public void setEQP_ID(String EQP_ID) {
        this.EQP_ID = EQP_ID;
    }

    public String getOPERATOR() {
        return OPERATOR == null ? "" : OPERATOR;
    }

    public void setOPERATOR(String OPERATOR) {
        this.OPERATOR = OPERATOR;
    }

    public List<ProjectInfoEntity> getINPUTDATAINFOLIST() {
        if (INPUTDATAINFOLIST == null) {
            return new ArrayList<>();
        }
        return INPUTDATAINFOLIST;
    }

    public void setINPUTDATAINFOLIST(List<ProjectInfoEntity> INPUTDATAINFOLIST) {
        this.INPUTDATAINFOLIST = INPUTDATAINFOLIST;
    }

    public static class ProjectInfoEntity implements Serializable{
        private String INPUTNAME;
        private String DATATYPE;
        private String DATAVALUE;
        private String EQP_ID;
        private String REASON;
        private String STATE;
        private String SUMBITTIME;

        public String getEQP_ID() {
            return EQP_ID == null ? "" : EQP_ID;
        }

        public void setEQP_ID(String EQP_ID) {
            this.EQP_ID = EQP_ID;
        }

        public String getREASON() {
            return REASON == null ? "" : REASON;
        }

        public void setREASON(String REASON) {
            this.REASON = REASON;
        }

        public String getSTATE() {
            return STATE == null ? "" : STATE;
        }

        public void setSTATE(String STATE) {
            this.STATE = STATE;
        }

        public String getSUMBITTIME() {
            return SUMBITTIME == null ? "" : SUMBITTIME;
        }

        public void setSUMBITTIME(String SUMBITTIME) {
            this.SUMBITTIME = SUMBITTIME;
        }

        public String getINPUTNAME() {
            return INPUTNAME == null ? "" : INPUTNAME;
        }

        public void setINPUTNAME(String INPUTNAME) {
            this.INPUTNAME = INPUTNAME;
        }

        public String getDATATYPE() {
            return DATATYPE == null ? "" : DATATYPE;
        }

        public void setDATATYPE(String DATATYPE) {
            this.DATATYPE = DATATYPE;
        }

        public String getDATAVALUE() {
            return DATAVALUE == null ? "" : DATAVALUE;
        }

        public void setDATAVALUE(String DATAVALUE) {
            this.DATAVALUE = DATAVALUE;
        }
    }

    public static class Status implements Serializable{
        private String StateName;
        private String GroupName;

        public String getGroupName() {
            return GroupName == null ? "" : GroupName;
        }

        public void setGroupName(String groupName) {
            GroupName = groupName;
        }

        public String getStateName() {
            return StateName == null ? "" : StateName;
        }

        public void setStateName(String stateName) {
            StateName = stateName;
        }
    }
}
